﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace for__while__do_while__foreach
{
	class Program
	{
		static void Main(string[] args)
		{
			int[] numbers = { 4, 7, 1, 23, 43 };
			int s = 0;
			for (int i = 0; i < numbers.Length; i++)
			{
				s += numbers[i];
			}
			Console.WriteLine(s);
			Console.ReadKey();
		}
	}
}
